package com.smfx.yxt.reqVo;

import java.util.List;

import org.apache.commons.lang.StringUtils;

import com.smfx.yxt.utils.StringUtil;

public class ScoreSummaryQueryVO extends BaseQueryVO {

	//任课教师
	private String teacherName;
	//任课教师ID
	private Integer teacherId;
	//学期id
	private Integer termId;
	//学年
	private Integer termYear;
	//班级id
	private String classId;
	//学生id
	private Integer studentId;
	//考试id
	private Integer examId;
	//是否校验能否查看分数 0 不校验 1校验
	private Byte isCheckScore = 1;
	
	private String order = "desc";
	
	private List<Integer> scoreList;
	
	public String getTeacherName() {
		return teacherName;
	}
	
	public void setTeacherName(String teacherName) {
		this.teacherName = StringUtil.emptyToNull(teacherName);
	}
	
	public Integer getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	public Integer getTermId() {
		return termId;
	}
	
	public void setTermId(Integer termId) {
		this.termId = termId;
	}
	
	public Integer getTermYear() {
		return termYear;
	}

	public void setTermYear(Integer termYear) {
		this.termYear = termYear;
	}

	public String getClassId() {
		return classId;
	}
	
	public void setClassId(String classId) {
		if(StringUtils.isNotBlank(classId)) {
			super.setGrade(classId.substring(0, 4));
			super.setClazz(Integer.valueOf(classId.substring(4, classId.length())));
		}
		this.classId = StringUtil.emptyToNull(classId);
	}

	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public Integer getExamId() {
		return examId;
	}

	public void setExamId(Integer examId) {
		this.examId = examId;
	}

	public Byte getIsCheckScore() {
		return isCheckScore;
	}

	public void setIsCheckScore(Byte isCheckScore) {
		this.isCheckScore = isCheckScore;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public List<Integer> getScoreList() {
		return scoreList;
	}

	public void setScoreList(List<Integer> scoreList) {
		this.scoreList = scoreList;
	}
	
}
